package com.citywithincity.pay;

import java.io.IOException;


public interface IPaySubmit<SUBMIT_RESULT,T extends SysOrder> {
	/**
	 * 如果任务提交失败，则应该抛出PayActionException
	 * @param order
	 * @return
	 * @throws PayActionException
	 * @throws IOException
	 */
	SUBMIT_RESULT submit(T order) throws PayActionException, IOException ;
}
